#pragma once
#include <cstdio>
#include <cassert>
#include <iostream>
#include <string>
#include <cstring>

typedef int SLDateType;

typedef struct SeqList
{
	SLDateType* a;
	int size;
	int capacity;
}SL;

void SeqInit(SL* ps);
void SeqDestroy(SL* ps);
void SeqPrint(SL* ps);
void SeqCheck(SL* ps);
void Backpush(SL* ps,SLDateType x);
void Backpop(SL* ps);
int Find(SL* ps, SLDateType x);
void SeqInsert(SL* ps, int dst, SLDateType x);
void SeqErase(SL* ps, int pos);

